package com.hsm8;

import java.util.Map;
import java.util.TreeMap;

public class TestStudent {
    public static void main(String[] args) {
        Map<Student,Integer> map = new TreeMap<>();
        map.put(new Student(20,"alili",187.00),1001);
        map.put(new Student(22,"blili",195.00),1001);
        map.put(new Student(21,"blili",162.00),1001);
        map.put(new Student(18,"dlili",177.00),1001);
        map.put(new Student(23,"clili",112.00),1001);
        System.out.println(map);
        System.out.println(map.size());
    }
}
